﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="routesList_index.aspx.cs" Inherits="uswinweb.admin.routesList_index" %>
<%@ Register TagPrefix="win" TagName="head" Src="~/customcontrol/admin_head.ascx" %>
<%@ Register TagPrefix="win" TagName="foot" Src="~/customcontrol/foot.ascx" %>
<%@ Register TagPrefix="win" TagName="routeslist" Src="../datacontrol/RoutesList.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理后台</title>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="../css/comm.css" rel="stylesheet" type="text/css" />
<link href="../css/lightview.css" type="text/css" rel="stylesheet" />
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/prototype.js" type="text/javascript"></script>
<script src="../js/scriptaculous.js?load=effects" type="text/javascript"></script>
<script src="../js/lightview.js" type="text/javascript"></script>
<script src="../js/effects.js" type="text/javascript"></script>
<script src="../js/table.js" type="text/javascript"></script>
<script src="../js/jquery_common.js" type="text/javascript"></script>
</head>
<body>
<input type="button" id="reclick" name="reclick" onclick="reclcik()" style="display: none"  />
<form id="form1" runat="server">
<div class="repcot" id="repcot">
<p class="adnrt">
授权航线——<%=cInfo.cname %>
</p>
	<ul class="adnr2 mar_top">
    <li><input type="checkbox" name="chkall" value="checkbox" id ="chkall"  onclick="CheckAll(this.form,'ids');"/></li>
		<li><a href="routesList_add.aspx?cid=<%=cid %>" rel="iframe" title=" :: :: width:700,height:500" class="lightview">新 增</a></li>
			<li><a href="#" onclick="del('all')">批量删除</a></li>
	</ul>
	<div class="adnr3">
    <div id="showdata">
    <win:routeslist runat="server" ID="routeslist1" />
    </div>
	</div>
    </div>
</form>
</body>
<script type="text/javascript">
    function reclcik() {
        loading();
        var cid = '<%=cid %>';
        AjaxHelper.Updater('RoutesList.ascx', 'showdata', 'action=reclick&cid=' + cid + '');
    }
    function search() {
        var val1 = document.getElementById('routes_search_txt').value;
        var val2 = document.getElementById('shipcomp_search_txt').value;
        loading();
        var bid = '<%=cid %>';
        AjaxHelper.Updater('RoutesList.ascx', 'showdata', 'action=search&bid=' + bid + '&routekey=' + val1 + '&shipcompkey=' + val2);
    }
</script>
</html>




